Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> import sys
>>> sys.platform
'win32'
>>> print(sys.version)
3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)]
>>> import os
>>> os.getcwd()
'D:\\python'
>>> os.environ
environ({'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\red.WIN-97UTJ23CCNM\\AppData\\Roaming', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'WIN-97UTJ23CCNM', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'DRIVERDATA': 'C:\\Windows\\System32\\Drivers\\DriverData', 'FPS_BROWSER_APP_PROFILE_STRING': 'Internet Explorer', 'FPS_BROWSER_USER_PROFILE_STRING': 'Default', 'HOME': 'C:\\Users\\red.WIN-97UTJ23CCNM', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\red.WIN-97UTJ23CCNM', 'LOCALAPPDATA': 'C:\\Users\\red.WIN-97UTJ23CCNM\\AppData\\Local', 'LOGONSERVER': '\\\\WIN-97UTJ23CCNM', 'NUMBER_OF_PROCESSORS': '8', 'ONEDRIVE': 'C:\\Users\\red.WIN-97UTJ23CCNM\\OneDrive', 'OS': 'Windows_NT', 'PATH': 'D:\\anaconda;D:\\anaconda\\Library\\mingw-w64\\bin;D:\\anaconda\\Library\\usr\\bin;D:\\anaconda\\Library\\bin;D:\\anaconda\\Scripts;D:\\python\\Scripts\\;D:\\python\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Users\\red.WIN-97UTJ23CCNM\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Anaconda3 (64-bit)\\Anaconda3;C:\\Users\\red.WIN-97UTJ23CCNM\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Anaconda3 (64-bit)\\Anaconda3\\Library\\mingw-w64\\bin;C:\\Users\\red.WIN-97UTJ23CCNM\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Anaconda3 (64-bit)\\Anaconda3\\Library\\usr\\bin;C:\\Users\\red.WIN-97UTJ23CCNM\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Anaconda3 (64-bit)\\Anaconda3\\Library\\bin;C:\\Users\\red.WIN-97UTJ23CCNM\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Anaconda3 (64-bit)\\Anaconda3\\Scripts;C:\\Users\\red.WIN-97UTJ23CCNM\\AppData\\Local\\Microsoft\\WindowsApps;;D:\\python\\PyCharm 2020.1.1\\bin;', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW', 'PROCESSOR_ARCHITECTURE': 'AMD64', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 142 Stepping 12, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '8e0c', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'PROGRAMW6432': 'C:\\Program Files', 'PSMODULEPATH': 'C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules', 'PUBLIC': 'C:\\Users\\Public', 'PYCHARM': 'D:\\python\\PyCharm 2020.1.1\\bin;', 'SESSIONNAME': 'Console', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\Windows', 'TEMP': 'C:\\Users\\RED~1.WIN\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\RED~1.WIN\\AppData\\Local\\Temp', 'USERDOMAIN': 'WIN-97UTJ23CCNM', 'USERDOMAIN_ROAMINGPROFILE': 'WIN-97UTJ23CCNM', 'USERNAME': 'red', 'USERPROFILE': 'C:\\Users\\red.WIN-97UTJ23CCNM', 'WINDIR': 'C:\\Windows'})
>>> import datetime
>>> datetime.date.today()
datetime.date(2020, 9, 29)
>>> datetime.date.today().day
29
>>> datetime.date.today().mouth
Traceback (most recent call last):
  File "<pyshell#9>", line 1, in <module>
    datetime.date.today().mouth
AttributeError: 'datetime.date' object has no attribute 'mouth'
>>> datetime.date.today().month
9
>>> datetime.date.today.year
Traceback (most recent call last):
  File "<pyshell#11>", line 1, in <module>
    datetime.date.today.year
AttributeError: 'builtin_function_or_method' object has no attribute 'year'
>>> datetime.date.today().year
2020
>>> datetime.date.isoformat(datetime.date.today())
'2020-09-29'
>>> import time
>>> time.strftime("%H:%M")
'21:36'
>>> time.strfime("%A %P"）
	     
SyntaxError: invalid character in identifier
>>> time.strfime("%A %P")
Traceback (most recent call last):
  File "<pyshell#17>", line 1, in <module>
    time.strfime("%A %P")
AttributeError: module 'time' has no attribute 'strfime'
>>> time.strftime("%A %P")
Traceback (most recent call last):
  File "<pyshell#18>", line 1, in <module>
    time.strftime("%A %P")
ValueError: Invalid format string
>>> time.strftime("%A %P")
Traceback (most recent call last):
  File "<pyshell#19>", line 1, in <module>
    time.strftime("%A %P")
ValueError: Invalid format string
>>> time.strftime("%a %p")
'Tue PM'
>>> import html
>>> html.escape(This HTMLfragment contains a <script>script</script>tag."
	    
SyntaxError: invalid syntax
>>> html.escape(This HTML fragment contains a <script>script</script>tag."
	    
SyntaxError: invalid syntax
>>> html.escape("This HTML fragment contains a <script>script</script>tag.")
'This HTML fragment contains a &lt;script&gt;script&lt;/script&gt;tag.'
>>> html.unescape("I &hearts;Python's &lt;standard library&gt;.")
"I ♥Python's <standard library>."
>>> from datetime import datetime
>>> 
===================== RESTART: D:/python/week01(p16-17).py =====================
Traceback (most recent call last):
  File "D:/python/week01(p16-17).py", line 3, in <module>
    right_this_minute = datetime.today(),minute
NameError: name 'minute' is not defined
>>> 
===================== RESTART: D:/python/week01(p16-17).py =====================
This minute seems a little odd.
>>> 
===================== RESTART: D:/python/week01(p16-17).py =====================
Not an odd minute.
Traceback (most recent call last):
  File "D:/python/week01(p16-17).py", line 9, in <module>
    if today == 'Saturday':
NameError: name 'today' is not defined
>>> 
===================== RESTART: D:/python/week01(p16-17).py =====================
This minute seems a little odd.
Traceback (most recent call last):
  File "D:/python/week01(p16-17).py", line 8, in <module>
    if today == 'Saturday':
NameError: name 'today' is not defined
>>> 
===================== RESTART: D:/python/week01(p16-17).py =====================
Not an odd minute.
Traceback (most recent call last):
  File "D:/python/week01(p16-17).py", line 10, in <module>
    if today == 'Saturday':
NameError: name 'today' is not defined
>>> for i in [1,2,3]:
	print(i)

	
1
2
3
>>> for ch in"hi!":
	print(ch)

	
h
i
!
>>> for num in range(5):
	print('Head First Rocks!')

	
Head First Rocks!
Head First Rocks!
Head First Rocks!
Head First Rocks!
Head First Rocks!
>>> 